package com.hspedu.poly_.detail;

/**
 * @Author Stringzhua
 * @Date 2024/3/2 17:22
 * description:
 */
public class Animal {
    String name = "动物";
    int age = 10;

    public void sleep() {
        System.out.println("睡");
    }

    public void run() {
        System.out.println("跑");
    }

    public void eat() {
        System.out.println("吃");
    }

    public void show() {
        System.out.println("hello,Stringzhua");
    }
}